//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="WORHDTM")]
		public class WORHDTMEntity: EntityObject
		{


#region Field
				private	decimal _ASSM_FG_QTY=0;
				private	DateTime _ASSM_REQ_DATE=DateTime.MinValue;
				private	decimal _ASSM_REQ_QTY=0;
				private	string _BPN_CODE="";
				private	string _COMP_CODE="";
				private	string _CTR_CODE="";
				private	string _ITEM_NO="";
				private	DateTime _ITEM_REQ_DATE=DateTime.MinValue;
				private	string _MO_DT="";
				private	string _MO_NO="";
				private	string _ODTP_CODE="";
				private	string _ODTP_STATUS="";
				private	Int32 _ODTP_XREV=0;
				private	string _WO_NO="";
				private	string _WO_ODTP_RMKS="";
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//WORHDTM,ASSM_FG_QTY
				//</Summary>
				public decimal ASSM_FG_QTY
				{
					get { return _ASSM_FG_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ASSM_FG_QTY)
							{
								_ASSM_FG_QTY = value; 
								this.PropertyChange("ASSM_FG_QTY");
							}
						}else{
							_ASSM_FG_QTY = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ASSM_REQ_DATE
				//</Summary>
				public DateTime ASSM_REQ_DATE
				{
					get { return _ASSM_REQ_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ASSM_REQ_DATE)
							{
								_ASSM_REQ_DATE = value; 
								this.PropertyChange("ASSM_REQ_DATE");
							}
						}else{
							_ASSM_REQ_DATE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ASSM_REQ_QTY
				//</Summary>
				public decimal ASSM_REQ_QTY
				{
					get { return _ASSM_REQ_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ASSM_REQ_QTY)
							{
								_ASSM_REQ_QTY = value; 
								this.PropertyChange("ASSM_REQ_QTY");
							}
						}else{
							_ASSM_REQ_QTY = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,BPN_CODE
				//</Summary>
				public string BPN_CODE
				{
					get { return _BPN_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_BPN_CODE)
							{
								_BPN_CODE = value; 
								this.PropertyChange("BPN_CODE");
							}
						}else{
							_BPN_CODE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,COMP_CODE
				//</Summary>
				public string COMP_CODE
				{
					get { return _COMP_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_COMP_CODE)
							{
								_COMP_CODE = value; 
								this.PropertyChange("COMP_CODE");
							}
						}else{
							_COMP_CODE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,CTR_CODE
				//</Summary>
				public string CTR_CODE
				{
					get { return _CTR_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CTR_CODE)
							{
								_CTR_CODE = value; 
								this.PropertyChange("CTR_CODE");
							}
						}else{
							_CTR_CODE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ITEM_NO
				//</Summary>
				public string ITEM_NO
				{
					get { return _ITEM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_NO)
							{
								_ITEM_NO = value; 
								this.PropertyChange("ITEM_NO");
							}
						}else{
							_ITEM_NO = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ITEM_REQ_DATE
				//</Summary>
				public DateTime ITEM_REQ_DATE
				{
					get { return _ITEM_REQ_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ITEM_REQ_DATE)
							{
								_ITEM_REQ_DATE = value; 
								this.PropertyChange("ITEM_REQ_DATE");
							}
						}else{
							_ITEM_REQ_DATE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,MO_DT
				//</Summary>
				public string MO_DT
				{
					get { return _MO_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MO_DT)
							{
								_MO_DT = value; 
								this.PropertyChange("MO_DT");
							}
						}else{
							_MO_DT = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,MO_NO
				//</Summary>
				public string MO_NO
				{
					get { return _MO_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MO_NO)
							{
								_MO_NO = value; 
								this.PropertyChange("MO_NO");
							}
						}else{
							_MO_NO = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ODTP_CODE
				//</Summary>
				public string ODTP_CODE
				{
					get { return _ODTP_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ODTP_CODE)
							{
								_ODTP_CODE = value; 
								this.PropertyChange("ODTP_CODE");
							}
						}else{
							_ODTP_CODE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ODTP_STATUS
				//</Summary>
				public string ODTP_STATUS
				{
					get { return _ODTP_STATUS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ODTP_STATUS)
							{
								_ODTP_STATUS = value; 
								this.PropertyChange("ODTP_STATUS");
							}
						}else{
							_ODTP_STATUS = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ODTP_XREV
				//</Summary>
				public Int32 ODTP_XREV
				{
					get { return _ODTP_XREV; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ODTP_XREV)
							{
								_ODTP_XREV = value; 
								this.PropertyChange("ODTP_XREV");
							}
						}else{
							_ODTP_XREV = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,WO_NO
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string WO_NO
				{
					get { return _WO_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WO_NO)
							{
								_WO_NO = value; 
								this.PropertyChange("WO_NO");
							}
						}else{
							_WO_NO = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,WO_ODTP_RMKS
				//</Summary>
				public string WO_ODTP_RMKS
				{
					get { return _WO_ODTP_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WO_ODTP_RMKS)
							{
								_WO_ODTP_RMKS = value; 
								this.PropertyChange("WO_ODTP_RMKS");
							}
						}else{
							_WO_ODTP_RMKS = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//WORHDTM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
